﻿seajs.config({
    base: '../js/',
    alias: {
        'labjs': 'lib/LAB.min',
        'model': 'gaoqi/model/',
        'view': 'gaoqi/view/',
        'css': '../style/'
    }
});

define(function (require) {
    require('labjs');

    // 载入基础lib
    $LAB.script('../js/lib/jquery-1.6.2.min.js').wait()
        .script('../js/lib/jquery-ui-1.8.13.custom.min.js').wait()
        .script('../js/lib/underscore-min.js').wait()
        .script('../js/lib/backbone.min.js').wait(
            function () {
                require('gaoqi/index');
            }
        )
});
